#pragma once

#include "IMemPatch.h"
#include "common.h"

namespace TLib
{
	class NopPatch : public IMemPatch
	{
	protected:
		unsigned int cBytes;
		BYTE* origMem;
		unsigned int address;
	public:
		TRAINER_LIB_API NopPatch(unsigned int address, unsigned int cBytes);
		TRAINER_LIB_API ~NopPatch();

		TRAINER_LIB_API virtual void Patch(HANDLE hProcess);
		TRAINER_LIB_API virtual void UnPatch(HANDLE hProcess);

		TRAINER_LIB_API virtual void gameTurnedOff();
	};
}// Namespace TLib